import request from '@/utils/request'

// 首页查询流量数据
export function getHomeList(data) {
  return request({
    url: '/admin/customerInsight/home',
    method: 'post',
    data
  })
}
// 首页查询产品看板数据
export function getRiskBoard(data) {
  return request({
    url: '/admin/customerInsight/riskBoard',
    method: 'post',
    data
  })
}
// 首页查询核心指标数据
export function coreTargetBoard(data) {
  return request({
    url: '/admin/customerInsight/coreTargetBoard',
    method: 'post',
    data
  })
}
// 首页查询客户看板数据
export function customerBoard(data) {
  return request({
    url: '/admin/customerInsight/customerBoard',
    method: 'post',
    data
  })
}